/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const baseInfoRouter = {
  path: '/baseInfo',
  component: Layout,
  redirect: 'noRedirect',
  name: 'BaseInfo',
  meta: {
    title: '基表信息管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'baseInfo1',
      component: () => import('@/views/baseInfo/base-info-1'),
      name: 'BaseInfo1',
      meta: { title: '基1表', noCache: true }
    },
    {
      path: 'baseInfo2',
      component: () => import('@/views/baseInfo/base-info-2'),
      name: 'BaseInfo2',
      meta: { title: '基2表', noCache: true }
    },
    {
      path: 'baseInfo3',
      component: () => import('@/views/baseInfo/base-info-3'),
      name: 'BaseInfo3',
      meta: { title: '基3表', noCache: true }
    },
    {
      path: 'baseInfo4',
      component: () => import('@/views/baseInfo/base-info-4'),
      name: 'BaseInfo4',
      meta: { title: '基4表', noCache: true }
    },
    {
      path: 'createBaseInfo1',
      component: () => import('@/views/baseInfo/create'),
      name: 'CreateBaseInfo1',
      meta: { title: '基表填写', noCache: true },
      hidden: true
    },
    {
      path: 'createBaseInfo2',
      component: () => import('@/views/baseInfo/create'),
      name: 'CreateBaseInfo2',
      meta: { title: '基表填写', noCache: true },
      hidden: true
    },
    {
      path: 'createBaseInfo3',
      component: () => import('@/views/baseInfo/create'),
      name: 'CreateBaseInfo3',
      meta: { title: '基表填写', noCache: true },
      hidden: true
    },
    {
      path: 'createBaseInfo4',
      component: () => import('@/views/baseInfo/create'),
      name: 'CreateBaseInfo4',
      meta: { title: '基表填写', noCache: true },
      hidden: true
    },
    {
      path: 'auditBaseInfo',
      component: () => import('@/views/baseInfo/baseAudit'),
      name: 'AuditBaseInfo',
      meta: { title: '基表审核', noCache: true },
      hidden: true
    },
    {
      path: 'baseSearch',
      component: () => import('@/views/baseInfo/base-search'),
      name: 'BaseSearch',
      meta: { title: '基表数据检查', noCache: true }
    },
    {
      path: 'baseRank',
      component: () => import('@/views/baseInfo/base-rank'),
      name: 'BaseRank',
      meta: { title: '基表指标排名', noCache: true }
    },
    {
      path: 'baseQuery',
      component: () => import('@/views/baseInfo/base-query'),
      name: 'BaseQuery',
      meta: { title: '基表填报查询', noCache: true }
    }
  ]
}

export default baseInfoRouter
